xm block-create doesn't work. It seems like this command hasn't even
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 13 Aug 2005 09:06:20 +0000 (09:06 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 13 Aug 2005 09:06:20 +0000 (09:06 +0000)
commit2591bbb102f16f02b75abd74adde94fa1b43274a
tree194fc34f7385f04a42bb2dd49f77f8355df4c9b7
parentf24303ce78b18f84088051fabf408d65f53cd718
xm block-create doesn't work.  It seems like this command hasn't even
been tested (perhaps since the un-Twisting?).  This particular problem
was that one function was being called with self instead of the right
argument and another function's return value was being used when it
didn't actually return anything.

This patch also improves the error handling a bit by making sure we
don't thrown an exception on a log statement with a None value.  In
general, one should always use the % formatter instead of concatination
for strings in Python (even though this is not what this patch does).

Signed-off-by: Anthony Liguori
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/server/controller.py